<style type="text/css">
.CodeMirror-line-numbers {
    width: 2.2em;
    color: #aaa;
    background-color: #eee;
    text-align: right;
    padding-right: .3em;
    font-size: 10pt;
    font-family: monospace;
    padding-top: .4em;
    line-height: normal;
}
</style>
<div class="form wide">

<?php $form=$this->beginWidget('CmsWidgetForm', array(
    'formParams'=>$formParams,
    'formLayoutParams'=>$formLayoutParams,
));?>

    <?php echo $form->errorSummary($model); ?>

    <?php if (! $model->IsNewRecord) echo $form->hiddenField($model, "id") ; ?>
    <div class="row" style="border: 1px solid #000;">
        <?php echo $form->textArea($model,'content',array('cols'=>70, 'rows'=>7, 'encode'=>true)); ?>
        <?php echo $form->error($model,'content'); ?>
    </div>

<?php $this->endWidget(); ?>

</div><!-- form -->